range: Allocate the trough when the adjustment value changes
authorTimm Bäder <mail@baedert.org>
Mon, 8 May 2017 12:22:51 +0000 (14:22 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:12 +0000 (21:27 -0400)
So it repositions the slider.

gtk/gtkrange.c

index c68c7c8d1c9f131ae9203134cd58113686fda563..34dfcb7107e35fa022aab4418f1e976cb29037b7 100644 (file)
@@ -2500,6 +2500,8 @@ gtk_range_adjustment_value_changed (GtkAdjustment *adjustment,
    */
 
   g_signal_emit (range, signals[VALUE_CHANGED], 0);
+
+  gtk_widget_queue_allocate (range->priv->trough_widget);
 }
 
 static void